package com.wo.cloud.admin.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.wo.cloud.core.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author liry
 * @version 1.0
 * @date Created on 2021/5/19 17:32
 * Description: 菜单表
 */

@Data
@TableName("sys_menu")
@ApiModel(value = "菜单对象", description = "系统菜单表")
public class SysMenu extends BaseEntity {

    @ApiModelProperty(value = "'菜单名称'")
    private String name;

    @ApiModelProperty(value = "菜单类型：0目录，1菜单，2功能模块")
    private String type;

    @ApiModelProperty(value = "路径(前端路由)")
    private String path;

    @ApiModelProperty(value = "目录的父级-1")
    private String parentId;

    @ApiModelProperty(value = "菜单权限")
    private String permissionName;

    @ApiModelProperty(value = "菜单图标")
    private String icon;
}
